from pyboy import PyBoy

#file = '超级马里奥大陆(简)(v2.0)(星夜之幻)(0.5Mb).gb'
file = '超级马里奥大陆 (简) (v1.0) (九班)(0.5Mb).gb'
#file = '超级马里奥 (简) (ertong).gbc'
# file = '坦克大战 (简) (madcell)(0.25Mb).gb'

pyboy = PyBoy('ROMs/' + file)
while not pyboy.tick():
    pass
pyboy.stop()